/**
 * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.crossriver.crgis.database.model;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * This class is used by
 * {@link com.crossriver.crgis.database.service.http.Contact_InformationServiceSoap}.
 * </p>
 *
 * @author    Wole Adetiba
 * @see       com.crossriver.crgis.database.service.http.Contact_InformationServiceSoap
 * @generated
 */
public class Contact_InformationSoap implements Serializable {
	public static Contact_InformationSoap toSoapModel(Contact_Information model) {
		Contact_InformationSoap soapModel = new Contact_InformationSoap();

		soapModel.setApplicationId(model.getApplicationId());
		soapModel.setUserId(model.getUserId());
		soapModel.setHouseNo(model.getHouseNo());
		soapModel.setAddressLine1(model.getAddressLine1());
		soapModel.setAddressLine2(model.getAddressLine2());
		soapModel.setCity(model.getCity());
		soapModel.setState(model.getState());
		soapModel.setCountry(model.getCountry());
		soapModel.setPhoneHome(model.getPhoneHome());
		soapModel.setPhoneOffice(model.getPhoneOffice());
		soapModel.setPhoneMobile(model.getPhoneMobile());
		soapModel.setFax(model.getFax());
		soapModel.setPoBox(model.getPoBox());
		soapModel.setLga(model.getLga());
		soapModel.setEmailAddress(model.getEmailAddress());
		soapModel.setOtherInformation(model.getOtherInformation());

		return soapModel;
	}

	public static Contact_InformationSoap[] toSoapModels(
		Contact_Information[] models) {
		Contact_InformationSoap[] soapModels = new Contact_InformationSoap[models.length];

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModel(models[i]);
		}

		return soapModels;
	}

	public static Contact_InformationSoap[][] toSoapModels(
		Contact_Information[][] models) {
		Contact_InformationSoap[][] soapModels = null;

		if (models.length > 0) {
			soapModels = new Contact_InformationSoap[models.length][models[0].length];
		}
		else {
			soapModels = new Contact_InformationSoap[0][0];
		}

		for (int i = 0; i < models.length; i++) {
			soapModels[i] = toSoapModels(models[i]);
		}

		return soapModels;
	}

	public static Contact_InformationSoap[] toSoapModels(
		List<Contact_Information> models) {
		List<Contact_InformationSoap> soapModels = new ArrayList<Contact_InformationSoap>(models.size());

		for (Contact_Information model : models) {
			soapModels.add(toSoapModel(model));
		}

		return soapModels.toArray(new Contact_InformationSoap[soapModels.size()]);
	}

	public Contact_InformationSoap() {
	}

	public String getPrimaryKey() {
		return _applicationId;
	}

	public void setPrimaryKey(String pk) {
		setApplicationId(pk);
	}

	public String getApplicationId() {
		return _applicationId;
	}

	public void setApplicationId(String applicationId) {
		_applicationId = applicationId;
	}

	public String getUserId() {
		return _userId;
	}

	public void setUserId(String userId) {
		_userId = userId;
	}

	public String getHouseNo() {
		return _houseNo;
	}

	public void setHouseNo(String houseNo) {
		_houseNo = houseNo;
	}

	public String getAddressLine1() {
		return _addressLine1;
	}

	public void setAddressLine1(String addressLine1) {
		_addressLine1 = addressLine1;
	}

	public String getAddressLine2() {
		return _addressLine2;
	}

	public void setAddressLine2(String addressLine2) {
		_addressLine2 = addressLine2;
	}

	public String getCity() {
		return _city;
	}

	public void setCity(String city) {
		_city = city;
	}

	public String getState() {
		return _state;
	}

	public void setState(String state) {
		_state = state;
	}

	public String getCountry() {
		return _country;
	}

	public void setCountry(String country) {
		_country = country;
	}

	public String getPhoneHome() {
		return _phoneHome;
	}

	public void setPhoneHome(String phoneHome) {
		_phoneHome = phoneHome;
	}

	public String getPhoneOffice() {
		return _phoneOffice;
	}

	public void setPhoneOffice(String phoneOffice) {
		_phoneOffice = phoneOffice;
	}

	public String getPhoneMobile() {
		return _phoneMobile;
	}

	public void setPhoneMobile(String phoneMobile) {
		_phoneMobile = phoneMobile;
	}

	public String getFax() {
		return _fax;
	}

	public void setFax(String fax) {
		_fax = fax;
	}

	public String getPoBox() {
		return _poBox;
	}

	public void setPoBox(String poBox) {
		_poBox = poBox;
	}

	public String getLga() {
		return _lga;
	}

	public void setLga(String lga) {
		_lga = lga;
	}

	public String getEmailAddress() {
		return _emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		_emailAddress = emailAddress;
	}

	public String getOtherInformation() {
		return _otherInformation;
	}

	public void setOtherInformation(String otherInformation) {
		_otherInformation = otherInformation;
	}

	private String _applicationId;
	private String _userId;
	private String _houseNo;
	private String _addressLine1;
	private String _addressLine2;
	private String _city;
	private String _state;
	private String _country;
	private String _phoneHome;
	private String _phoneOffice;
	private String _phoneMobile;
	private String _fax;
	private String _poBox;
	private String _lga;
	private String _emailAddress;
	private String _otherInformation;
}